//
//  ButtonSlide.h
//  ButtonSlide
//
//  Created by Handymood on 11-5-21.
//  Copyright 2011 __Hanydmood__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ImageUIButton.h"
@class ImageUIButton;

#import "UIComponentBase.h"
@class UIComponentBase;

@interface ButtonSlide : UIComponentBase <UIScrollViewDelegate>
{
    ImageUIButton *leftButton;
    ImageUIButton *rightButton;
    UIScrollView *imgScrollView;
}

-(void)initWithImages:(NSArray *)imgArray 
                   slideSize:(CGSize ) inSlideSize 
                    imgSize:(CGSize ) inImgSize;

-(void) mouseDownProcLeft:(id)sender;
-(void) mouseDownProcRight:(id)sender;

-(void)setXY:(CGFloat) inx 
        offy:(CGFloat) iny;

-(void)reset;

@end
